PreviousContentsNext


Summary of Video Digitizer Components

Constants

enum {
   videoDigitizerComponentType = 'vdig',/* standard type for video 
                                           digitizer components */
    /* input format standards */
   ntscIn               = 0,  /* National Television System Committee */
   palIn                = 1,  /* Phase Alternation Line */
   secamIn              = 2,  /* Sequential Color with Memory */
    /* input formats */
   compositeIn       = 0,     /* no color separation of channels */
   sVideoIn          = 1,     /* s-video (super VHS) */
   rgbComponentIn    = 2,     /* separate channels for red, green, & blue */
   /* video digitizer component PlayThru states */
   vdPlayThruOff              = 0,  /* playthrough off */
   vdPlayThruOn               = 1,  /* playthrough on */
    /* field preference options in VDGetFieldPreference function */
   vdUseAnyField  = 0,  /* digitizer component decides which field to use */
   vdUseOddField  = 1,  /* digitizer component uses odd field */
   vdUseEvenField = 2,  /* digitizer component uses even field */
    /* input color space modes */
   vdDigitizerBW  = 0,  /* digitizer component uses black and white */
   vdDigitizerRGB = 1,  /* digitizer component uses red, green, & blue */
   /* phase lock loop modes */
   vdBroadcastMode   = 0,  /* broadcast (laser disk) video mode */
   vdVTRMode         = 1,  /* VCR (magnetic media) mode */
   /* video digitizer component types */
   vdTypeBasic = 0,/* basic component does not support clipping */
   vdTypeAlpha = 1,/* component supports clipping with alpha channel */
   vdTypeMask  = 2,/* component supports clipping with mask plane */
   vdTypeKey   = 3, /* component supports clipping with one or more key
                      colors */
   /* digitizer input capability/current flags */
   digiInDoesNTSC       = (1L<<0),  /* NTSC input */
   digiInDoesPAL        = (1L<<1),  /* PAL input */
   digiInDoesSECAM      = (1L<<2),  /* SECAM format */
   digiInDoesGenLock    = (1L<<7),  /* digitizer performs genlock */
   digiInDoesComposite  = (1L<<8),  /* composite input */
   digiInDoesSVideo     = (1L<<9),  /* s-video input type */
   digiInDoesComponent  = (1L<<10), /* component (RGB) input type */
   digiInVTR_Broadcast  =  (1L<<11),/* differentiates between magnetic
                                       media and broadcast input */
   digiInDoesColor      =  (1L<<12),/* digitizer supports color */
   digiInDoesBW         =  (1L<<13),/* digitizer supports black & white */
   /* digitizer input current flags (these are valid only during active
      operating conditions) */
   digiInSignalLock     = (1L<<31), /* digitizer detects locked input signal 
                                       - this bit = 
                                       horiz lock || vertical lock */
   /* digitizer output capability/current flags */
   digiOutDoes1      =  (1L<<0), /* digitizer supports 1-bit pixels */
   digiOutDoes2      =  (1L<<1), /* digitizer supports 2-bit pixels */
   digiOutDoes4      =  (1L<<2), /* digitizer supports 4-bit pixels */
   digiOutDoes8      =  (1L<<3), /* digitizer supports 8-bit pixels */
   digiOutDoes16     =  (1L<<4), /* digitizer supports 16-bit pixels */
   digiOutDoes32     =  (1L<<5), /* digitizer supports 32-bit pixels */
   digiOutDoesDither =  (1L<<6), /* digitizer dithers in indexed modes */
   digiOutDoesStretch=  (1L<<7), /* digitizer can arbitrarily stretch */
   digiOutDoesShrink =  (1L<<8), /* digitizer can arbitrarily shrink */
   digiOutDoesMask      =  (1L<<9), /* masks to clipping regions */
   digiOutDoesDouble    =  (1L<<11),/* stretches to exactly double size */
   digiOutDoesQuad      =  (1L<<12),/* stretches to exactly quadruple size */
   digiOutDoesQuarter   =  (1L<<13),/* shrinks to exactly one-quarter size */
   digiOutDoesSixteenth =  (1L<<14),/* shrinks to exactly one-sixteenth */
   digiOutDoesRotate    =  (1L<<15),/* supports rotation transformations */
   digiOutDoesHorizFlip =  (1L<<16),/* supports horizontal flips Sx < 0 */
   digiOutDoesVertFlip  =  (1L<<17),/* supports vertical flips Sy < 0 */
   digiOutDoesSkew      =  (1L<<18),/* supports skew (shear,twist) */
   digiOutDoesBlend     =  (1L<<19),/* supports blend operations */
   digiOutDoesWarp      =  (1L<<20),/* supports warp operations */
   digiOutDoesHW_DMA    =  (1L<<21),/* not constrained to local device */
   digiOutDoesHWPlayThru=  (1L<<22),/* doesn't need time to play */
   digiOutDoesILUT      =  (1L<<23),/* does lookup table for index modes */
   digiOutDoesKeyColor  =  (1L<<24),/* performs key color functions too */
   digiOutDoesAsyncGrabs=  (1L<<25),/* supports asynchronous grabs */
   digiOutDoesUnreadableScreenBits
                        =  (1L<<26),/* playthru doesn't generate readable
                                       bits on screen */
   digiOutDoesCompress  =  (1L<<27),/* supports compressed source devices */
   digiOutDoesCompressOnly
                        =  (1L<<28),/* can't draw images */
   digiOutDoesPlayThruDuringCompress 
                        =  (1L<<29) /* can play while providing compressed
                                       data */
};

 


PreviousContentsNext

© Apple Computer, Inc.
27 MAY 1997